/*
 * @Author: liuYang codkly@gmail.com
 * @Date: 2022-10-26 22:46:47
 * @LastEditors: lycodk lycodk@gmail.com
 * @LastEditTime: 2023-02-20 21:55:25
 * @FilePath: \coding\blog\blog_web\public\js\index.js
 * @Description: 
 * 暂无备注
 */
var reallyDocumentTitle;
document.addEventListener('visibilitychange', function (event) {
    console.log('visibilitychange')
    if (event.target.hidden || event.target.webkitHidden) {
        reallyDocumentTitle = document.title
        document.title = 'Hello Word！'
    } else {
        document.title = reallyDocumentTitle
    }
}, false);
